<dl class="n-box">
	<dt class="n-box-head">
		<b>静态页管理</b>
	</dt>
	<dd class="n-box-body">
		
		
		<table class="n-table n-size-full n-sep-top">
			<tbody>
			<tr>
				<th>序号</th>
				<th>名称</th>
				<th>图片</th>
				<th>操作</th>
			</tr>
		<?php foreach($data as $page):?>
			<tr>
				<td><?=$page['id']?></td>
				<td><a href="<?=n_url('page', 'show', ['pageId'=>$page['id']])?>"><?=$page['name']?></a></td>
				<td>
					<?php if(isset($page['img_name'])):?>
						<img style="width:200px" src="<?=n_img('page', $page['img_name'])?>">
					<?php endif;?>
				</td>
				<td><a href="<?=n_url('page','pageEdit', ['pageId'=>$page['id']])?>">编辑</a></td>
			</tr>
		<?php endforeach;?>
			</tbody>
		</table>